package com.meilai.project.entity.business.installOrder;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.core.bean.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 张驰
 * @since 2022-03-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("worker_submit_photo")
@ApiModel(value="WorkerSubmitPhoto对象", description="")
public class WorkerSubmitPhoto extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "点位ID")
    private Long media_point_id;

    @ApiModelProperty(value = "提交ID")
    private Long worker_submit_id;

    @ApiModelProperty(value = "完全文件名")
    private String url;

    @ApiModelProperty(value = "替换前的图片地址")
    private String old_url = "[]";

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime upload_at;

}
